From 1615a4321836277a6ad244f69250233e3e01fbcb Mon Sep 17 00:00:00 2001 From: Debian Qt/KDE Maintainers Date: Sat, 2 Apr 2022 19:23:38 +0100 Subject: [PATCH] Fix builds of qtconcurrentthreadengine.h with GCC 11 Origin: upstream, https://codereview.qt-project.org/c/qt/qtbase/+/339417 Last-Update: 2022-04-01 Without this patch, all the code that #includes QtConcurrent headers will fail to compile with GCC 11. Gbp-Pq: Name gcc-11-qtconcurrentthreadengine.diff --- src/concurrent/qtconcurrentthreadengine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/concurrent/qtconcurrentthreadengine.h b/src/concurrent/qtconcurrentthreadengine.h index af413707e..a4c8548cc 100644 --- a/src/concurrent/qtconcurrentthreadengine.h +++ b/src/concurrent/qtconcurrentthreadengine.h @@ -247,8 +247,8 @@ template <> class ThreadEngineStarter : public ThreadEngineStarterBase { public: - ThreadEngineStarter(ThreadEngine *_threadEngine) - :ThreadEngineStarterBase(_threadEngine) {} + ThreadEngineStarter(ThreadEngine *_threadEngine) + : ThreadEngineStarterBase(_threadEngine) {} void startBlocking() { -- 2.30.2